Window arrangement method and window arrangement system

ABSTRACT

A window arrangement method includes the following steps. The method obtains the first program identifier of a foreground window. The method determines whether the first program identifier belongs to a preset identifier. In response to the first program identifier belonging to the preset identifier, the method obtains the first handle and the first window data of the foreground window and sets the application handle of a window arrangement application as the parent window handle of the first handle. The first toolbar or the first address bar of the foreground window is removed through the window arrangement application to generate a first simplified window. Moreover, the first simplified window is displayed in a window of the window arrangement application through the window arrangement application according to the first window data and the first default window position.

CROSS REFERENCE TO RELATED APPLICATIONS

This Application claims priority of Taiwan Patent Application No.111109607, filed on Mar. 16, 2022, the entirety of which is incorporatedby reference herein.

BACKGROUND OF THE INVENTION Field of the Invention

The present disclosure relates to an arrangement method and, inparticular, to a window arrangement method and a window arrangementsystem for automatically arranging windows.

Description of the Related Art

At present, there are more and more applications related to big data.After data collection and calculation, the analyzed data can bedisplayed in the form of graphs in the browser. Whether it is Kibana,PowerBI or other data analysis software, most of them show big datathrough browsers. At present, there are more and more large-size andhigh-resolution screens. These screens can be used as projection screensin conference rooms. In order to take full advantage of the large screensize, Kibana or PowerBI can open multiple browsers, and open multipletables or charts for comparison reports. However, in addition topresenting tables and data, the browser itself also presents some windowareas that are not very important when reporting. These areas take upspace and make it difficult to read.

Therefore, how to better use the large-size and high-resolution screento achieve the maximum benefit of the projection screen has become oneof the important problems to be solved.

BRIEF SUMMARY OF THE INVENTION

In accordance with one feature of the present invention, the presentdisclosure provides a window arrangement method. The window arrangementmethod includes the following steps. The first program identifier of afirst foreground window is obtained. A determination is made as towhether the first program identifier belongs to a preset identifier. Inresponse to the first program identifier belongs to the presetidentifier, a first handle and first window data of the first foregroundwindow are obtained, and the application handle of a window arrangementapplication is set as the parent window handle of the first handle. Thefirst toolbar or the first address bar of the first foreground window isremoved through the window arrangement application to generate a firstsimplified window. Moreover, the first simplified window is displayed ina window of the window arrangement application through the windowarrangement application according to the first window data and the firstdefault window position.

In accordance with one feature of the present invention, the presentdisclosure provides a window arrangement system. The window arrangementsystem includes a processor and a storage device. The processor isconfigured to access a window arrangement application stored in thestorage device to execute the window arrangement application, whereinthe processor executes the following actions. The processor obtains thefirst program identifier of a first foreground window. The processordetermines whether the first program identifier belongs to a presetidentifier. In response to the first program identifier belongs to thepreset identifier, the processor obtains the first handle and the firstwindow data of the first foreground window, and it sets the applicationhandle of the window arrangement application as the parent window handleof the first handle. The first toolbar or first address bar of the firstforeground window is removed through the window arrangement applicationto generate a first simplified window. Moreover, the first simplifiedwindow is displayed in a window of the window arrangement applicationthrough the window arrangement application according to the first windowdata and the first default window position.

To sum up, the window arrangement method and the window arrangementsystem can automatically find out which browsers or windows are open andbeing displayed on the display, and can automatically arrange thebrowsers or windows. It can also achieve the effect of automaticallyupdating content for well-arranged browsers.

BRIEF DESCRIPTION OF THE DRAWINGS

In order to describe the manner in which the above-recited and otheradvantages and features of the disclosure can be obtained, a moreparticular description of the principles briefly described above will berendered by reference to specific examples thereof which are illustratedin the appended drawings. Understanding that these drawings depict onlyexemplary aspects of the disclosure and are not therefore to beconsidered to be limiting of its scope, the principles herein aredescribed and explained with additional specificity and detail throughthe use of the accompanying drawings in which:

FIG. 1 is a schematic diagram of opening a plurality of browsers in thesame window in accordance with one embodiment of the present disclosure.

FIG. 2 is a schematic diagram of a window arrangement system inaccordance with one embodiment of the present disclosure.

FIG. 3 is a flowchart of a window arrangement method 300 in accordancewith one embodiment of the present disclosure.

FIG. 4 is a schematic diagram of a work administrator interface in whichmultiple browsers are open, in accordance with one embodiment of thepresent disclosure.

FIG. 5 is a schematic diagram of a simplified window in the same windowin accordance with one embodiment of the present disclosure.

FIG. 6 is a schematic diagram of a simplified window in the same windowin accordance with one embodiment of the present disclosure.

FIG. 7 is a schematic diagram of a control interface in accordance withone embodiment of the present disclosure.

FIG. 8 is a schematic diagram of a plurality of current simplifiedwindows and a control interface in accordance with one embodiment of thepresent disclosure.

FIG. 9 is a flowchart of a method 900 for setting a record programidentifier in accordance with one embodiment of the present disclosure.

DETAILED DESCRIPTION OF THE INVENTION

The following description is of the best-contemplated mode of carryingout the invention. This description is made for the purpose ofillustrating the general principles of the invention and should not betaken in a limiting sense. The scope of the invention is best determinedby reference to the appended claims.

The present invention will be described with respect to particularembodiments and with reference to certain drawings, but the invention isnot limited thereto and is only limited by the claims. It will befurther understood that the terms “comprises,” “comprising,” “includes”and/or “including,” when used herein, specify the presence of statedfeatures, integers, steps, operations, elements, and/or components, butdo not preclude the presence or addition of one or more other features,integers, steps, operations, elements, components, and/or groupsthereof.

Use of ordinal terms such as “first”, “second”, “third”, etc., in theclaims to modify a claim element does not by itself connote anypriority, precedence, or order of one claim element over another or thetemporal order in which acts of a method are performed, but are usedmerely as labels to distinguish one claim element having a certain namefrom another element having the same name (but for use of the ordinalterm) to distinguish the claim elements.

Please refer to FIGS. 1 to 3 , FIG. 1 is a schematic diagram of openinga plurality of browsers in the same window in accordance with oneembodiment of the present disclosure. FIG. 2 is a schematic diagram of awindow arrangement system 100 in accordance with one embodiment of thepresent disclosure. FIG. 3 is a flowchart of a window arrangement method300 in accordance with one embodiment of the present disclosure. Thewindow arrangement method 300 can be implemented by the windowarrangement system 100.

In one embodiment, as shown in FIG. 1 , when multiple browsers are openin the same window, although many charts or tables can be compared atone time, the toolbar and address bar TL of the browsers take up space,which makes reading imperfect. If users don't need the toolbar andaddress bar TL, users can use the full-screen mode of the browser (forexample, set the key “F11” on the keyboard of some computers to enterthe full-screen mode). However, in doing so, only one browser window canbe shown.

Please refer to FIG. 2 , the window arrangement system 100 in theembodiment of the present invention includes a processor 10, a storagedevice 20 and a display 30.

In one embodiment, the processor 10 is coupled to the storage device 20.The processor 10 is used for accessing a program stored in the storagedevice 20, such as a window arrangement application, to execute a windowarrangement application.

In one embodiment, the processor 10 can be implemented by a microcontroller, a microprocessor, a digital signal processor, an applicationspecific integrated circuit (ASIC), or a logic circuit.

In one embodiment, the storage device 20 can be implemented as aread-only memory, flash memory, floppy disk, hard disk, optical disk,flash drive, tape, a database that can be accessed by the network, orthose familiar with this technique can easily think of storage mediawith the same functions.

In one embodiment, the window arrangement application can be implementedby software.

In one embodiment, the function of the window arrangement applicationcan be implemented by a hardware circuit or a chip with a specificfunction that is independent of the storage device 20.

In one embodiment, the processor 10 is configured to access the windowarrangement application stored in the storage device 20 to execute awindow arrangement application. The processor 10 executes the followingactions. The processor 10 obtains the first program identifier of aforeground window. The processor 10 determines whether the first programidentifier belongs to a preset identifier. If the first programidentifier belongs to the preset identifier, then the processor 10obtains the first handle of the foreground window and the first windowdata. The processor 10 sets an application handle of a windowarrangement application as the parent window handle of the first handle.The processor 10 removes a first toolbar or a first address bar of thefirst window through the window arrangement application to generate afirst simplified window. The processor 10 displays the first simplifiedwindows in a window of the window arrangement application according tothe first window data and a first default window position through thewindow arrangement application. The specific implementation is describedin detail below with an example illustrated in FIG. 3 .

In one embodiment, the processor 10 is used to access the windowarrangement application stored in the storage device 20 to execute thewindow arrangement application. When the processor 10 executes thewindow arrangement application, the following steps are performed.

In step 310, the processor 10 obtains the first program identifier of aforeground window.

Please refer to FIG. 4 , which is a schematic diagram of a workadministrator interface in which multiple browsers are open, inaccordance with one embodiment of the present disclosure.

In the example illustrated in FIG. 4 , four Chrome browsers are opened,and the display 30 can display four Chrome browsers. If the workadministrator interface is opened, the display mode is found that theChrome browser is a main process and the main process brings thesub-process itself. Although only 4 Chrome browsers are opened, a stringof chrome.exe appears. As shown in FIG. 4 , it is difficult for the userto know from the string of chrome.exe which four processes correspond tothe four Chrome browsers displayed on the display 30. The presentinvention is not limited to use with the Chrome browser: as long as theprogram in question is an application program with a handle, it can beapplied. For the convenience of description, the Chrome browser is usedas an example below.

In one embodiment, since each program identifier (processidentification, PID) of each chrome.exe in FIG. 4 is the same, eachhandle of each Chrome browser window is different, and each Chromebrowser window only has one handle. By looking for the handle of eachwindow of chrome.exe in FIG. 4 and looking for the handle of theforeground window, it is possible to find out which four processescorrespond to the four Chrome browsers displayed on the display 30. Inone embodiment, the handle is an identifier used to identify an objector item, and the handle is configured to identify the four Chromebrowsers displayed on the display 30. In one embodiment, the handle foreach window is automatically generated by the operating system.

Thereby, the chrome.exe executable file corresponding to each of thefour Chrome browsers displayed on the display 30 can be found.

In one embodiment, the process code of the window arrangementapplication in FIG. 4 is WiTidy.exe, which means that the windowarrangement application is the parent process of multiple Chrome browserprocesses. In other words, multiple Chrome browser processes aresub-processes of the window arrangement application.

In one embodiment, since each Chrome browser window displayed on eachdisplay 30 has only one handle, the program identifier of chrome.execorresponding to each Chrome browser in FIG. 4 is the same.

In one embodiment, when a process that opens the Chrome browser iscalled, the Chrome browser window is brought to the foreground. At thistime, the processor 10 can find the handle of the Chrome browser window,and through the handle, query the program identifier corresponding tothe process of the Chrome browser.

In one embodiment, the processor 10 obtains the first program identifiercorresponding to the first window W1 (e.g., first foreground window) ina plurality of foreground windows. The processor 10 obtains the secondprogram identifier corresponding to the second window W2 in theplurality of foreground windows. The processor 10 obtains the thirdprogram identifier corresponding to the third window W3 in the pluralityof foreground windows. The processor 10 obtains the fourth programidentifier corresponding to the fourth window W4 from the plurality offoreground windows.

In one embodiment, the processor 10 pre-records the first to fourthprogram identifiers corresponding to the first to fourth windows W1 toW4 in the storage device 20 as preset identifiers.

In one embodiment, the processor 10 determines whether the first programidentifier of the foreground window belongs to a preset identifier.

In step 320, the processor 10 obtains a first handle of the foregroundwindow in response to the first program identifier belonging to thepreset identifier. The processor 10 then obtains the first window dataof the foreground window and sets the application handle of the windowarrangement application as the parent window handle of the first handle.

In one embodiment, the application handle of the window arrangementapplication is set as the parent window handle of the first handlethrough the processor 10, representing that the first window W1 in theforeground window is a sub-window (child window) of the window of thewindow arrangement application. The first window W1 is displayed in thewindow of the window arrangement application.

In one embodiment, the processor 10 sets the Chrome browser of the firstwindow W1 to full-screen, the respective first program identifierscorresponding to the multiple sub-windows of the first window W1 are allthe same program identifier.

In one embodiment, each time a Chrome browser is started, the Chromebrowser is set by the processor 10 to the topmost window of the displayscreen of the display 30. The processor 10 queries whether the firstprogram identifier of the Chrome browser is the same as the presetidentifier. If the first program identifier of the Chrome browser is thesame as the preset identifier, the Chrome browser and the previouslypreset first window W1 are regarded as the same window.

In one embodiment, in response to the first program identifier belongingto the preset identifier, the processor 10 obtains a first handle of theforeground window (e.g., the first window W1), and obtains a firstwindow data of the foreground window. Moreover, the processor 10 setsthe application handle of a window arrangement application as the parentwindow handle of the first handle.

In one embodiment, the processor 10 queries whether the presetidentifier is the same as the program identifier of the foregroundwindow (e.g., the first window W1) through the handle. If the same, theprocessor 10 obtains the size and type (sub-window or parent window) ofthe window through the handle. And, the processor 10 records theinformation into the storage device 20.

In one embodiment, when the user starts the window arrangementapplication, the window arrangement application is set as the parentwindow. More specifically, the processor 10 sets the window handle ofWiTidy.exe (the process code of the window arrangement application) asthe parent window, so that the entire window appears in a black state,and other windows within the parent window are sub-windows.

In one embodiment, if there is only one sub-window, the windowarrangement application configures the sub-window to be displayed infull-screen.

In one embodiment, when there are multiple screens, the windowarrangement application can select the main screen or the extendedscreen as the parent window according to a preset option set in advance.

In step 330, the processor 10 removes a first toolbar or a first addressbar TL of the foreground window through the window arrangementapplication to generate a first simplified window W1′.

In one embodiment, the processor 10 removes the first toolbar and/or afirst address bar TL of the first window W1 through the ApplicationProgramming Interface (API), thereby generating the first simplifiedwindow W1′. In one embodiment, the processor 10 uses full-screenfunction to remove toolbar or address bar.

In one embodiment, the processor 10 removes the respective toolbarand/or address bar TL of the first window W1 to the fourth window W4through the application programming interface, so as to generate thefirst simplified window W1′ to the fourth simplified window W4′.

In step 340, the processor 10 displays the first simplified window W1′in a window of the window arrangement application according to the firstwindow data and a first default window position through the windowarrangement application.

Please refer to FIG. 5 . FIG. 5 is a schematic diagram of a simplifiedwindow in the same window in accordance with one embodiment of thepresent disclosure. As shown in FIG. 5 , the window arrangementapplication displays the first simplified window W1′ to the fourthsimplified window W4′, and displays the first simplified window W1′ tothe fourth simplified window W4′ through the display 30.

As mentioned above, the processor 10 sets the window handle ofWiTidy.exe (the process code of the window arrangement application) asthe parent window, so that the entire window is in a black state, andother windows within the parent window are sub-windows. Therefore, inthis example, the first simplified window W1′ to the fourth simplifiedwindow W4′ are sub-windows that are displayed in the parent window.

In this way, each of the first simplified window W1′ to the fourthsimplified window W4′ does not retain the toolbar and/or address bar,and each Chrome browser can be displayed and arranged in a certain areain a full-screen mode. It also won't cause a single Chrome browser tooccupy the entire parent window size. Compared with FIG. 1 , the picturein FIG. 5 has no toolbar or address bar, which can make the report inthe dashboard larger, more concise and convenient for users to watch.

In one embodiment, the first window data refers to the window size, type(sub-window or parent window), and parent window handle corresponding tothe first window W1 stored in the storage device 20.

In an embodiment, please refer to FIG. 6 , which is a schematic diagramof a simplified window in the same window in accordance with oneembodiment of the present disclosure. In one embodiment, the defaultwindow position can be pre-configured according to the number ofwindows. In FIG. 6 , the default window position 610 is theconfiguration for arranging 4 windows. The default window position 620is the configuration for arranging 6 windows. The default windowposition 630 is the configuration for arranging 9 windows. However, theconfiguration method in the invention is not limited thereto, and thedefault window position can be adjusted according to the implementation.

In one embodiment, the processing methods of the first window W1 to thefourth window W4 are the same. Taking the second window W2 as anexample, the processor 10 obtains a second handle of a second window,obtains a second program identifier corresponding to the second windowW2, and determines whether the second program identifier belongs to thepreset identifier. In response to the second program identifierbelonging to the preset identifier, a second handle and a second windowdata of the second window W2 are obtained, and the application handle ofthe window arrangement application is set as the parent window handle ofthe second handle. The second toolbar or the second address bar of thesecond window W2 is removed by the window arrangement application togenerate a second simplified window W2′. Moreover, through the windowarrangement application, the simplified second window W2′ is displayedin the window of the window arrangement application according to thesecond window data and a second default window position.

In one embodiment, after the window arrangement application obtains thescreen resolution size, the first simplified window W1 is displayed inthe windows of the window arrangement application according to the firstwindow data, the screen resolution size and the default window position.In one embodiment, the screen resolution size can be obtained throughdetecting the information of the display by the processor 10 or theoperation system.

More specifically, in one embodiment, according to the screen resolutionand to be divided into several windows, the size (width and height) ofeach window is calculated, then the processor 10 obtains the defaultwindow position and the data related to the window information mentionedlater according to the configuration file. Since there is a lot of dataabout window information, it can know how big the current window shouldbe (for example, setting the width and height of the first simplifiedwindowW1), and the processor 10 then arranges the current window (e.g.,the first simplified window W1) to the corresponding position accordingto the configuration file and the data related to the windowinformation.

In one embodiment, after the window arrangement application obtains thescreen resolution size, according to all window data, screen resolutionsize and default window position, all simplified windows (for example,the first simplified window to the fourth simplified window W1-W4) aredisplayed in the windows of the window arrangement application.

In one embodiment, the processor 10 defines a first timer for the firstwindow W1 through a first uniform resource locator (URL). The firsttimer is configured to set a first time period. The display content ofthe first window W1 is updated according to the first time period.Similarly, other windows (such as the second window W2 to the fourthwindow W4) can also define their respective timers through theirrespective uniform resource locators. The timer is configured to set thetime period for updating the content. The update time period of eachwindow can be set according to the information displayed on thedashboard.

For example, the processor 10 defines a second timer for the secondwindow W2 through a second uniform resource locator, the second timer isconfigured to set a second time period, and the second window W2 updatesthe display content according to the second time period. In oneembodiment, the first time period is, for example, 30 seconds, whichmeans that the content of the first window W1 is updated every 30seconds. The second time period is, for example, 5 seconds, which meansthat the content of the first window W2 is updated every 5 seconds.However, the configuration in the invention is not limited thereto, andthe time period corresponding to each window can be adjusted accordingto the implementation.

In one embodiment, in response to the first time period reaching anupdate time earlier than the second time period, the first window W1 isset as the topmost window to update the first window. In response to thesecond time period reaching the update time earlier than the first timeperiod, the second window is set as the topmost window to update thesecond window.

In one embodiment, in response to opening the window arrangementapplication, the processor 10 opens a control interface. As shown inFIG. 7 , FIG. 7 is a schematic diagram of a control interface 700 inaccordance with one embodiment of the present disclosure.

The title bar of the control interface 700 reads window arrangementapplication named WiTidy App. The control interface 700 includes afull-screen button, a plurality of window arrangement template options(such as Google, Test 1-4, Group Name 1, Group Name 2 and GoogleSearch), and a plurality of window lists each corresponding to each ofthe window layout arrangement options. The window list contains multiplecurrent simplified windows. Each the current windows correspond to acurrent uniform resource locator or an executable file. For example,click on Google Search, the window list lists the current simplifiedwindows included in the Google Search template, including Test 1-Test 4.The button of the window arrangement template options (such as GroupName 1) that is not clicked displays “Show up” by default, whichindicates that it can be clicked to expand the corresponding currentsimplified window.

On the other hand, the clicked button of window arrangement templateoptions (such as Google Search) is changed from “Show up” to “Close”,which means that the four current simplified windows with Test 1-Test 4can be closed at the same time. In addition, in response to the Test1-Test 4 in the current simplified window (e.g., Test 1) is clicked, andthe full-screen button “Full-screen” is pressed, then the currentsimplified window named Test 1 will be configured to be maximized orfull-screen. Other current simplified windows are displayed minimized(for example, the current simplified windows named Test 2-Test 4).

In one embodiment, when the current simplified window named Test 1 isconfigured to be maximized or displayed in full-screen, the full-screenbutton “Full-screen” is changed to the return button. In response to thereturn button is pressed, the window arrangement application causes thecurrent simplified windows (e.g., Test 1 to Test 4) to be displayed inthe windows of the window arrangement application according to thedefault window position (e.g., the configuration of the default windowposition 610).

In an embodiment, please refer to FIG. 8 , which is a schematic diagramof a plurality of current simplified windows and a control interface inaccordance with one embodiment of the present disclosure. These currentsimplified windows (e.g., Test 1 to Test 4) and the control interface700 can be in the same parent window. In one embodiment, the controlinterface 700 can be freely dragged to an appropriate position.

In one embodiment, in response to opening the window arrangementapplication, the processor 10 opens a control interface and calls anapplication handle of the window arrangement application. As shown inFIG. 9 , FIG. 9 is a flowchart of a method 900 for setting a recordprogram identifier in accordance with one embodiment of the presentdisclosure.

In step 910, the processor 10 performs the process of the windowarrangement method 300 when an event occurs that registers theforeground window with the operating system. In one embodiment, beforeobtaining the first program identifier of the foreground window, thewindow arrangement method 300 registers an event that the foregroundwindow appears by the operating system. And, in response to the eventthat the foreground window appears detected by the operating system, theprocessor loads settings associated with a sub-window from aconfiguration file.

In step 915, the processor 10 loads the settings associated with thesub-window from a configuration file.

Next, the processor 10 can load the URL or the executable file of thespecified path from the configuration file, and make some settingsthrough the control interface 700. For example, the URL of theforeground window is displayed on the control interface 700, or “Showup” on the control interface 700 is clicked . . . and so on.

In step 920, the processor 10 loads and opens the uniform resourcelocator (URL) in the configuration file or the executable file of thespecified path, and further determines whether the URL or the fileextension ends with “.exe”.

In one embodiment, the processor 10 responds that the URL or the fileextension name ends with “.exe”, and then step 930 is performed. Theprocessor 10 responds that the file extension name does not end with“.exe”, representing the configuration file records a URL, step 940 isperformed to open the URL with a browser.

In one embodiment, the processor 10 enters the end in response tochecking all the URLs or the specified paths in the configuration file,which means ending the method of setting and recording the programidentifier.

In step 930, the processor 10 records the program identifier of theexecutable file of the specified path in the storage device 20.

In other words, in response to the processor 10 determining that thefile extension of the path is an executable file (for example, ending in“.exe”), the path is, for example, an executable file. The executablefile of this path is opened as a foreground window, such as a smallpainter. The processor 10 records the program identifier of theforeground window in the storage device 20 as a preset identifier.

In step 940, the processor 10 starts the browser and records the programidentifier of the URL in the storage device 20.

In one embodiment, the browser can refer to Chrome, IE, Firefox,Microsoft Edge, Opera, Safari, etc., but is not limited thereto.

In other words, in this step, the processor 10 finds that the URL is notan executable file by checking the URL of the configuration file, andstarts the Chrome browser based on the URL. The processor 10 obtains theprogram identifier of the browser window associated with the URL, andrecords the program identifier in the storage device 20 as a presetidentifier.

To sum up, the window arrangement method and the window arrangementsystem can automatically find out which browsers or windows are open andbeing displayed on the display, and can automatically arrange thebrowsers or windows. It can also achieve the effect of automaticallyupdating content for well-arranged browsers.

Although the invention has been illustrated and described with respectto one or more implementations, equivalent alterations and modificationswill occur or be known to others skilled in the art upon the reading andunderstanding of this specification and the annexed drawings. Inaddition, while a particular feature of the invention may have beendisclosed with respect to only one of several implementations, such afeature may be combined with one or more other features of the otherimplementations as may be desired and advantageous for any given orparticular application.

What is claimed is:
 1. A window arrangement method, comprising:obtaining a first program identifier of a first foreground window;determining whether the first program identifier belongs to a presetidentifier; in response to the first program identifier belonging to thepreset identifier, obtaining a first handle and a first window data ofthe first foreground window, and setting an application handle of awindow arrangement application as a parent window handle of the firsthandle; removing a first toolbar or a first address bar of the firstforeground window through the window arrangement application wherein afirst simplified window is generated; and displaying the firstsimplified window in a window of the window arrangement applicationthrough the window arrangement application according to the first windowdata and a first default window position.
 2. The window arrangementmethod of claim 1, wherein the application handle of the windowarrangement application is set as the parent window handle of the firsthandle, indicating that the first foreground window is a sub-window ofthe window of the window arrangement application, the first foregroundwindow is displayed in the window of the window arrangement application.3. The window arrangement method of claim 1, comprising: obtaining asecond program identifier of a second foreground window; determiningwhether the second program identifier belongs to the preset identifier;in response to the second program identifier belonging to the presetidentifier, obtaining a second handle and a second window data of thesecond foreground window, and setting the application handle of thewindow arrangement application as the parent window handle of the secondhandle; removing a second toolbar or a second address bar of the secondforeground window through the window arrangement application wherein asecond simplified window is generated; and displaying the secondsimplified window in the window of the window arrangement applicationthrough the window arrangement application according to the secondwindow data and a second default window position; wherein theapplication handle of the window arrangement application is set as theparent window handle of the second handle, indicating that the secondforeground window is a sub-window of the window of the windowarrangement application, and the second foreground window is displayedin the window of the window arrangement application.
 4. The windowarrangement method of claim 1, further comprising: defining a firsttimer for the first simplified window through a first uniform resourcelocator, wherein the first timer sets a first time period, and the firstsimplified window updates display content according to the first timeperiod; defining a second timer for a second simplified window through asecond uniform resource locator, wherein the second timer sets a secondtime period, and the second simplified window updates display contentaccording to the second time period.
 5. The window arrangement method ofclaim 4, wherein in response to the first time period reaching an updatetime earlier than the second time period, the first simplified window isset as the first foreground window to update the first simplifiedwindow; wherein in response to the second time period reaching theupdate time earlier than the first time period, the second simplifiedwindow is set as the first foreground window to update the secondsimplified window.
 6. The window arrangement method of claim 1, whereinbefore the step of obtaining the first program identifier of theforeground window, the window arrangement method further comprises:registering an event that the foreground window appears by an operatingsystem; and in response to the event detected by the operating systemthat the foreground window appears, loading a plurality of settingsassociated with a sub-window from a configuration file by a processor.7. The window arrangement method of claim 6, further comprising: loadingand opening a URL (uniform resource locator) in the configuration fileor an executable file of a specified path, and determining whether theURL or a file extension of the specified path ends with “.exe”; inresponse to determining that the URL or the file extension ends with“.exe”, the program identifier of the executable file of the specifiedpath being recorded in the storage device and used as the presetidentifier; in response to determining that the URL or the fileextension does not end with “.exe”, a browser being activated, and theprogram identifier of the browser window associated with the URL beingrecorded in the storage device as the preset identifier.
 8. The windowarrangement method of claim 1, further comprising: opening a controlinterface; wherein the control interface includes a full-screen button,a plurality of window arrangement template options, and a window listcorresponding to one of the window arrangement template options, whereinthe window list comprises a plurality of current simplified windows, andeach of the current simplified windows corresponds to a current uniformresource locator or an executable file; wherein in response to thecurrent simplified windows are clicked and the full-screen button ispressed, one of the current simplified windows is displayed maximized orin full-screen, and the other current simplified windows are minimized.9. The window arrangement method of claim 8, wherein in response to oneof the current simplified windows is maximized or displayed infull-screen, the full-screen button changes to a return button, and thewindow arrangement method further comprises: in response to the returnbutton being pressed, the window arrangement application displays thecurrent simplified windows in the window of the window arrangementapplication according to a default window position.
 10. The windowarrangement method of claim 1, wherein after the window arrangementapplication obtains a screen resolution size, the first simplifiedwindow is displayed in the window of the window arrangement applicationaccording to the first window data, the screen resolution size and thefirst default window position.
 11. A window arrangement system,comprising: a processor; and a storage device, wherein the processoraccesses a window arrangement application stored in the storage deviceto execute the window arrangement application, wherein the processorexecutes: obtaining the first program identifier of a first foregroundwindow; determining whether the first program identifier belongs to apreset identifier; in response to the first program identifier belongingto the preset identifier, obtaining the first handle and the firstwindow data of the first foreground window, and setting the applicationhandle of a window arrangement application as the parent window handleof the first handle; removing a first toolbar or a first address bar ofthe first foreground window through the window arrangement applicationwherein a first simplified window is generated; and through the windowarrangement application, the first simplified window is displayed in awindow of the window arrangement application according to the firstwindow data and a first default window position.
 12. The windowarrangement system of claim 11, wherein the processor sets theapplication handle of the window arrangement application as the parentwindow handle of the first handle, representing that the firstforeground window is a sub-window of the window of the windowarrangement application, and the processor displays the first foregroundwindow in the window of the window arrangement application.
 13. Thewindow arrangement system of claim 11, wherein the processor executes:obtaining a second program identifier of a second foreground window;determining whether the second program identifier belongs to the presetidentifier; in response to the second program identifier belonging tothe preset identifier, obtaining the second handle and the second windowdata of the second foreground window, and setting the application handleof the window arrangement application as the parent window handle of thesecond handle; removing the second toolbar or the second address bar ofthe second foreground window through the window arrangement applicationwherein a second simplified window is generated; and displaying thesecond simplified window in the window of the window arrangementapplication through the window arrangement application according to thesecond window data and the second default window position; wherein theapplication handle of the window arrangement application is set as theparent window handle of the second handle, indicating that the secondforeground window is a sub-window of the window of the windowarrangement application, and the second foreground window is displayedin the window of the window arrangement application.
 14. The windowarrangement system of claim 11, wherein the processor executes: defininga first timer for the first simplified window through a first uniformresource locator, wherein the first timer sets a first time period, andthe first simplified window updates display content according to thefirst time period; defining a second timer for a second simplifiedwindow through a second uniform resource locator, the second timer setsa second time period, and the second simplified window updates displaycontent according to the second time period.
 15. The window arrangementsystem of claim 14, wherein in response to the first time periodreaching an update time earlier than the second time period, the firstsimplified window is set as the first foreground window to update thefirst simplified window; wherein in response to the second time periodreaching the update time earlier than the first time period, the secondsimplified window is set as the first foreground window to update thesecond simplified window.
 16. The window arrangement system of claim 11,wherein before the processor obtains the first program identifier of theforeground window, the processor registers an event that the foregroundwindow appears detected by the operating system, and loads a pluralityof settings associated with a sub-window from a configuration file inresponse to the event that the foreground window appears detected by theoperating system.
 17. The window arrangement system of claim 16, whereinthe processor executes: loading and opening a URL (uniform resourcelocator) in the configuration file or an executable file of a specifiedpath, and determining whether the URL or the file extension of thespecified path ends with “.exe”; in response to determining that the URLor the file extension ends with “.exe”, the program identifier of theexecutable file of the specified path being recorded in the storagedevice and used as the preset identifier; in response to determiningthat the URL or the file extension does not end with “.exe”, a browserbeing activated, and the program identifier of the browser windowassociated with the URL being recorded in the storage device as thepreset identifier.
 18. The window arrangement system of claim 11,wherein in response to opening the window arrangement application, theprocessor executes: opening a control interface; wherein the controlinterface includes a full-screen button, a plurality of windowarrangement template options, and a window list corresponding to one ofthe window arrangement template options, the window list comprises aplurality of current simplified windows, and each of the currentsimplified windows corresponds to the current uniform resource locatoror an executable file; wherein in response to the current simplifiedwindows are clicked and the full-screen button is pressed, one of thecurrent simplified windows is displayed maximized or in full-screen, andthe other current simplified windows are minimized.
 19. The windowarrangement system of claim 18, wherein in response to one of thecurrent simplified windows is maximized or displayed in full-screen, thefull-screen button changes to a return button, and the processorexecutes: in response to the return button being pressed, the windowarrangement application displays the current simplified windows in thewindow of the window arrangement application according to the defaultwindow position.
 20. The window arrangement system of claim 11, whereinafter the window arrangement application obtains the screen resolutionsize, the first simplified window is displayed in the window of thewindow arrangement application according to the first window data, thescreen resolution size and the first default window position.